package com.crr.utils;

import com.crr.ex.BusinessException;

/**
 * 断言
 */
public class Assert {
    public static void isNotSuccess(int res,String message){
        if(res==0){
            throw new BusinessException(message);
        }
    }
}
